package com.tianhao.luo;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @ClassName: PettyGirl
 * @Description: 美女实体
 * @author: tianhao.luo@hand-china.com
 * @date: 2020/7/13  16:20
 */
public class PettyGirl implements IPettyGirl {
    private static final Logger LOGGER = LoggerFactory.getLogger(PettyGirl.class);
    /**
     * 人名
     */
    private String name;

    public PettyGirl(String name) {
        this.name = name;
    }

    @Override
    public void goodLooking() {
        LOGGER.info("{}有漂亮的脸蛋",name);
    }

    @Override
    public void niceFigure() {
        LOGGER.info("{}有苗条的身材",name);
    }

    @Override
    public void greatTemperament() {
        LOGGER.info("{}有良好的气质",name);
    }
}
